
import requests
 
my_proxies={"http":"http://10.10.10.54:1088","https":"https://10.10.10.54:1088"}
resp=requests.get("http://myip.ipip.net",proxies=my_proxies,timeout=5)
print(resp.text)